<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{listadoUsuarios.page1}" id="page1">
            <ui:html binding="#{listadoUsuarios.html1}" id="html1">
                <ui:head binding="#{listadoUsuarios.head1}" id="head1">
                    <ui:link binding="#{listadoUsuarios.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{listadoUsuarios.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{listadoUsuarios.form1}" id="form1">
                        <div style="left: 0px; top: 0px; position: absolute">
                            <jsp:include page="encab1.jspf"/>
                        </div>
                        <ui:button action="#{listadoUsuarios.cerrar_action}" binding="#{listadoUsuarios.cerrar}" id="cerrar" imageURL="/resources/home3.gif"
                            mini="true" style="height: 29px; left: 72px; top: 96px; position: absolute; width: 46px" text="cerrar"/>
                        <ui:messageGroup binding="#{listadoUsuarios.messageGroup1}" id="messageGroup1" style="left: 408px; top: 96px; position: absolute"/>
                        <ui:button action="#{listadoUsuarios.imprimir_action}" binding="#{listadoUsuarios.imprimir}" id="imprimir"
                            imageURL="/resources/action_print1.gif" mini="true" style="height: 29px; left: 192px; top: 96px; position: absolute; width: 46px" text="Imprimir"/>
                        <ui:table augmentTitle="false" binding="#{listadoUsuarios.table1}" id="table1"
                            style="left: 120px; top: 288px; position: absolute; width: 600px" title="Usuarios del Sistema" width="1143">
                            <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table1");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table1");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table1");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table1");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table1");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table1");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                            <ui:tableRowGroup binding="#{listadoUsuarios.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                sourceData="#{listadoUsuarios.sct0011DataProvider}" sourceVar="currentRow">
                                <ui:tableColumn binding="#{listadoUsuarios.tableColumn1}" headerText="Codigo" id="tableColumn1" sort="USRNME" width="120">
                                    <ui:staticText binding="#{listadoUsuarios.staticText1}" id="staticText1" text="#{currentRow.value['USRNME']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoUsuarios.tableColumn2}" headerText="Nombre" id="tableColumn2" sort="NMBREUSRIO" width="150">
                                    <ui:staticText binding="#{listadoUsuarios.staticText2}" id="staticText2" text="#{currentRow.value['NMBREUSRIO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoUsuarios.tableColumn3}" headerText="Apellido" id="tableColumn3" sort="APLLDOUSRIO" width="150">
                                    <ui:staticText binding="#{listadoUsuarios.staticText3}" id="staticText3" text="#{currentRow.value['APLLDOUSRIO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoUsuarios.tableColumn4}" headerText="Perfil" id="tableColumn4" sort="CDGOPRFIL" width="90">
                                    <ui:staticText binding="#{listadoUsuarios.staticText4}" id="staticText4" text="#{currentRow.value['CDGOPRFIL']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoUsuarios.tableColumn6}" headerText="Departamento" id="tableColumn6" sort="PRFJO" width="150">
                                    <ui:staticText binding="#{listadoUsuarios.staticText6}" id="staticText6" text="#{currentRow.value['PRFJO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoUsuarios.tableColumn7}" headerText="Ciudad" id="tableColumn7" sort="ESTDO" width="150">
                                    <ui:staticText binding="#{listadoUsuarios.staticText7}" id="staticText7" text="#{currentRow.value['ESTDO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoUsuarios.tableColumn5}" headerText="Agencia" id="tableColumn5" sort="NMBREAGNCIA" width="180">
                                    <ui:staticText binding="#{listadoUsuarios.staticText5}" id="staticText5" text="#{currentRow.value['NMBREAGNCIA']}"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                        </ui:table>
                        <ui:label binding="#{listadoUsuarios.label1}" id="label1" style="left: 243px; top: 161px; position: absolute" text="Departamento"/>
                        <ui:label binding="#{listadoUsuarios.label2}" id="label2" style="left: 242px; top: 194px; position: absolute" text="Ciudad"/>
                        <ui:label binding="#{listadoUsuarios.label3}" id="label3" style="left: 243px; top: 227px; position: absolute" text="Agencia"/>
                        <ui:dropDown binding="#{listadoUsuarios.agenciaDropDown}" converter="#{listadoUsuarios.agenciaDropDownConverter}" id="agenciaDropDown"
                            items="#{listadoUsuarios.sct0045DataProvider.options['SCT0045.CDGOAGNCIA,SCT0045.NMBREAGNCIA']}"
                            onChange="common_timeoutSubmitForm(this.form, 'agenciaDropDown');" style="font-family: Arial,Helvetica,sans-serif; left: 336px; top: 225px; position: absolute; width: 180px"/>
                        <ui:dropDown binding="#{listadoUsuarios.departamentoDropDown}" converter="#{listadoUsuarios.departamentoDropDownConverter}"
                            id="departamentoDropDown" items="#{listadoUsuarios.sct0058DataProvider.options['SCT0058.CDGODPRTMNTO,SCT0058.NMBREDPRTMNTO']}"
                            onChange="common_timeoutSubmitForm(this.form, 'departamentoDropDown');" style="left: 335px; top: 157px; position: absolute; width: 180px"/>
                        <ui:dropDown binding="#{listadoUsuarios.ciudadDropDown}" converter="#{listadoUsuarios.ciudadDropDownConverter}" id="ciudadDropDown"
                            items="#{listadoUsuarios.sct0059DataProvider.options['SCT0059.CDGOCDAD,SCT0059.NMBRECDAD']}"
                            onChange="common_timeoutSubmitForm(this.form, 'ciudadDropDown');" style="left: 336px; top: 192px; position: absolute; width: 180px"/>
                        <ui:alert binding="#{listadoUsuarios.alert1}" id="alert1" style="position: absolute; left: 552px; top: 216px"/>
                        <ui:button action="#{listadoUsuarios.consultarButton_action}" binding="#{listadoUsuarios.consultarButton}" id="consultarButton"
                            imageURL="/resources/consultar.png" mini="true" style="height: 29px; left: 280px; top: 105px; position: absolute; width: 46px" text="Consultar"/>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
